package com.ruoyi.project.doc.service.impl;

import com.ruoyi.project.doc.domain.DocReg;
import com.ruoyi.project.doc.mapper.DocRegMapper;
import com.ruoyi.project.doc.service.IDocRegService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class DocRegServiceImpl implements IDocRegService {

    @Autowired
    private DocRegMapper docRegMapper;


    @Override
    public List<DocReg> selectDocRegList(DocReg docReg) {
        return docRegMapper.selectDocRegList(docReg);
    }

    @Override
    public DocReg selectDocRegById(Integer id) {
        return docRegMapper.selectDocRegById(id);
    }
}
